package model;

import java.io.IOException;


public class Ajuda {

	public void sobre()
	{		
	       
	       try {  
	    	   //String caminho = FacesContext.getCurrentInstance().getExternalContext().getRealPath("") + "SPLTextEditor/src/view/index.php";  
	    	   Runtime.getRuntime().exec("cmd.exe /C start "+System.getProperty("user.dir")+"/src/view/Sobre.html");

	       } catch (IOException ex) {  
	           ex.printStackTrace();  
	       }
		
	       
	}
	
	public void obterAjuda()
	{
	       try {  
	    	   //String caminho = FacesContext.getCurrentInstance().getExternalContext().getRealPath("") + "SPLTextEditor/src/view/index.php";  
	    	   Runtime.getRuntime().exec("cmd.exe /C start "+System.getProperty("user.dir")+"/src/view/Ajuda.html");

	       } catch (IOException ex) {  
	           ex.printStackTrace();  
	       }
	}
}
